import { NgModule, Inject } from '@angular/core';
import { SharedModule } from '@shared';
import { ALAIN_I18N_TOKEN } from '@delon/theme';
import { I18NService } from '@core';
import { NotificRoutingModule } from './notific-routing.module';
import { NotificListComponent } from './components/list/notific-list.component';
import { NotificationLayoutComponent } from './_layout/layout.component';
import { NotificationsInnerDetailComponent } from './components/detail/notific-detail.component';
import { NotificationsSubscribeComponent } from './components/subscribe/subscribe.component';

const COMPONENTS = [
  NotificationLayoutComponent,
  NotificListComponent,
  NotificationsInnerDetailComponent,
  NotificationsSubscribeComponent,
];
const COMPONENTS_NOROUNT = [];

@NgModule({
  imports: [SharedModule, NotificRoutingModule],
  declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT],
  entryComponents: COMPONENTS_NOROUNT,
})
export class NotificModule {
  constructor(@Inject(ALAIN_I18N_TOKEN) i18n: I18NService) {}
}
